
#ifndef __UNITSVISITORIMPL_H__
#define __UNITSVISITORIMPL_H__

#include <sstream>
#include <UnitsVisitor.h>
#include <Unit.h>

struct UnitsVisitorImpl: public UnitsVisitor
{
	UnitsVisitorImpl( std::ostream& os, unsigned int ammountInBaseUnit );
	void visit(const Unit* const pUnit )  ;

private:
	std::ostream& os_m; 
	unsigned int remainingAmmount_m;

};


#endif

